home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 140
/
(Vol 140) Sep 19 2011.iso
/
Games
/
axterix.swf
/
scripts
/
DefineButton2_234
/
BUTTONCONDACTION on(keyPress Space).as
< prev
next >
Wrap
Text File
|
2011-09-19
|
1KB
|
52 lines
on(keyPress "<Space>"){
sonMC.gotoAndPlay(4);
if(choix == 1)
{
perso = 1;
cobelix.gotoAndStop(2);
masterix.gotoAndStop(1);
mmrsg.gotoAndStop(1);
masrctrx.gotoAndStop(1);
casterix.gotoAndStop(1);
cmsrg.gotoAndStop(1);
casrctrx.gotoAndStop(1);
nextFrame();
}
if(choix == 2)
{
perso = 2;
casterix.gotoAndStop(2);
mobelix.gotoAndStop(1);
mmrsg.gotoAndStop(1);
masrctrx.gotoAndStop(1);
cobelix.gotoAndStop(1);
cmsrg.gotoAndStop(1);
casrctrx.gotoAndStop(1);
nextFrame();
}
if(choix == 3)
{
perso = 3;
cmsrg.gotoAndStop(2);
masterix.gotoAndStop(1);
mobelix.gotoAndStop(1);
masrctrx.gotoAndStop(1);
casterix.gotoAndStop(1);
cobelix.gotoAndStop(1);
casrctrx.gotoAndStop(1);
nextFrame();
}
if(choix == 4)
{
perso = 4;
casrctrx.gotoAndStop(2);
masterix.gotoAndStop(1);
mmsrg.gotoAndStop(1);
mobelix.gotoAndStop(1);
casterix.gotoAndStop(1);
cmsrg.gotoAndStop(1);
cobelix.gotoAndStop(1);
nextFrame();
}
}